/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:lmrp-base
 * Create Time: 2016年3月8日 下午6:30:10
 */
package com.lenovo.lmrp.base.event;

/**
 * Define opertions that will trigger event.
 * 
 * @author wujin
 * @version v1.0
 */
public enum EventCode {
    ENGINEER_LOGIN(1001), 
    ENGINEER_LOGOUT(1002), 
    ENGINEER_FORCELOGOUT(1003),
    ENGINEER_GRAB(1004),
    ENGINEER_ACCEPT(1005),
    ENGINEER_TRACE(1006),
    TICKET_CREATE(3001),
    TICKET_UPDATE(3002),
    TICKET_DELETE(3003),
    EXCEPTION_HANDLEDATA(9001),
    EXCEPTION_TICKET_OVERTIME(9002),
    EXCEPTION_TICKET_NOWORKFLOW(9003);
    
    private int code;
    
    EventCode(int code) {
        this.code = code;
    }
    
    public int getCode() {
        return this.code;
    }
}
